package com.explorx.sns.puma.im.core.dal.dao;

import com.explorx.sns.puma.im.core.dal.entity.GroupMemberEntity;
import com.explorx.sns.puma.im.core.dal.entity.GroupMemberEntityExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface GroupMemberEntityMapper {
    int deleteByPrimaryKey(@Param("id") Long id, @Param("groupId") Long groupId, @Param("userId") Long userId);

    int insert(GroupMemberEntity record);

    int insertSelective(GroupMemberEntity record);

    List<GroupMemberEntity> selectByExample(GroupMemberEntityExample example);

    GroupMemberEntity selectByPrimaryKey(@Param("id") Long id, @Param("groupId") Long groupId, @Param("userId") Long userId);

    int updateByExampleSelective(@Param("record") GroupMemberEntity record, @Param("example") GroupMemberEntityExample example);

    int updateByExample(@Param("record") GroupMemberEntity record, @Param("example") GroupMemberEntityExample example);

    int updateByPrimaryKeySelective(GroupMemberEntity record);

    int updateByPrimaryKey(GroupMemberEntity record);
}